package com.mofang.powerdekorhelper.adapter;

import android.content.Context;

import com.mofang.powerdekorhelper.R;
import com.mofang.powerdekorhelper.base.recycleview.BaseRecycleViewAdapter;
import com.mofang.powerdekorhelper.base.recycleview.BaseViewHolder;
import com.mofang.powerdekorhelper.model.ActivityDetail;

import java.util.List;

/**
 * Created by luofei on 2017/8/31 0031.
 * 说明：
 */

public class SignInListAdapter extends BaseRecycleViewAdapter {

    public SignInListAdapter(List<?> data, Context mContext, int layoutId) {
        super(data, mContext, layoutId);
    }

    @Override
    protected <T> void convert(BaseViewHolder holder, T bean, int position) {

        ActivityDetail.Pictures pictures = (ActivityDetail.Pictures) bean;

        holder.setCircleImage(R.id.sign_up_imv,pictures.getHead_url(), -1);

    }
}
